<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<html>
<head>
    <th:block th:insert="common/common::head"></th:block>
    <style>
        .layui-form {
            width: 330px;
            margin: auto;
            margin-top: 180px;
        }

        .layui-form button {
            width: 100%;
            height: 44px;
            line-height: 44px;
            font-size: 16px;
            font-weight: 550;
        }

        .layui-form-checked[lay-skin=primary] i {
            border-color: #2D8CF0 !important;
            background-color: #2D8CF0;
            color: #fff;
        }

        .layui-tab-content {
            margin-top: 15px;
            padding-left: 0px;
            padding-right: 0px;
        }

        .layui-form-item {
            margin-top: 20px;
        }

        .layui-input {
            height: 44px;
            line-height: 44px;
            padding-left: 15px;
            border-radius: 3px;
        }

        .layui-input:focus {
            box-shadow: 0px 0px 3px 1px #2D8CF0 !important;
        }

        .logo {
            width: 60px;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-left: 20px;
        }

        .title {
            font-size: 30px;
            font-weight: 550;
            margin-left: 20px;
            color: #2D8CF0 !important;
            display: inline-block;
            height: 60px;
            line-height: 60px;
            margin-top: 10px;
            position: absolute;
        }

        .desc {
            width: 100%;
            text-align: center;
            color: gray;
            height: 60px;
            line-height: 60px;
        }
    </style>
</head>
<body th:background="@{/static/common/images/background.svg}">
<form class="layui-form" id="loginForm">
    <div class="layui-form-item">
        <img class="logo" th:src="@{/static/common/images/logo.png}"/>
        <div class="title">Labmem Admin</div>
        <div class="desc">
            View design by Pear&Layui
        </div>
    </div>
    <div class="layui-form-item">
        <input type="text" placeholder="账 户 " name="userName" hover class="layui-input"/>
    </div>
    <div class="layui-form-item">
        <input type="password" placeholder="密 码 " name="password" hover class="layui-input"/>
    </div>
    <div class="layui-form-item">
        <input type="checkbox" name="remember" title="记住密码" lay-skin="primary" checked>
    </div>
    <div class="layui-form-item">
        <button type="button" class="pear-btn pear-btn-primary" id="login">
            登  入
        </button>
    </div>
</form>
<script th:replace="common/common::common"></script>
<script th:src="@{/static/common/js/login.js}"></script>
</body>
</html>
